#include <stdio.h>
#if 0
#include <stdlib.h>
#include <signal.h>

void signal_handler( int sig )
{
	printf( "Process %ld received signal %d\n", (long)getpid(), sig );
}

void do_debugger( void )
{
	int status = 0;
	pid_t child;

	printf( "In debugger process %ld\n", (long)getpid() );

	if (signal( SIGTRAP, signal_handler ) == SIG_ERR) {
		perror( "signal" );
		exit( -1 );
	}
}
int main(){
	do_debugger();
	printf("~~~~~~~~~~~~> Before breakpoint\n");
	asm( "int3");
	asm( "int3");
	printf("~~~~~~~~~~~~> After breakpoint\n");
	return 0;
}
#endif
int main(){
	printf("~~~~~~~~~~~~> Before breakpoint\n");
	printf("~~~~~~~~~~~~> After breakpoint\n");
	return 0;
}
